<!DOCTYPE html>
<html>
     <head>
     <title>millionairematch</title>
     <meta http-equiv=Content-Type content="text/html" charset='utf-8'>
     <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
     </head>
<body>
 <div id="body_loading"></div>
</body>
     <script src="../../sea-modules/seajs/2.3.0/sea.js"></script>
     <script src="../../sea-modules/seajs/2.3.0/seajs-css.js"></script>
     <script src="../../sea-modules/seajs/2.3.0/seajs-text.js"></script>
     <script>
	seajs.config({

	      alias: {
		"json": "json2/json2.js",
		"$": "zepto/zepto.min.js",
                "underscore": "gallery/underscore/1.4.4/underscore.js",
                "backbone": "gallery/backbone/1.0.0/backbone.js"
	      },

              preload: [
                 
              ],

	      paths: {
		'gallery': 'http://192.168.0.183/msmnm/sea-modules/gallery'
	      },

	      vars: {
		'locale': getLocale(),
                'domain': 'http://192.168.0.183/',
                'baseSea': 'http://192.168.0.183/msmnm/sea-modules/', 
                'resourceUrl': 'http://192.168.0.183/msmnm/resource/',
                'apiUrl': 'http://192.168.0.183/api/'
	      },

              'map': [
                  [/^(.*\.(?:css|js))(.*)$/i, '$1?v='+Math.random()]
                  //[/^(.*\.(?:css|js))(.*)$/i, '$1?v=1.0']
              ],
                 
	      debug: true,
              
	      base: 'http://192.168.0.183/msmnm/sea-modules/',
              
	      charset: 'utf-8'
	});
   
        function getLocale(){
              var locale = getCookie('siteLocale'); 
              return locale == '' ? 'en' : local;             
        };

        function getCookie(name) {
            var search = name + "=",offset,end; 
            if(document.cookie.length > 0) { 
                offset = document.cookie.indexOf(search);
                if(offset != -1) { 
                    offset += search.length;
                    end = document.cookie.indexOf(";", offset); 
                    if(end == -1) {
                       end = document.cookie.length;
                    };
                    return decodeURI(document.cookie.substring(offset, end));
                } 
            }
            return "";
        };   
 
	seajs.use("../../static/mnm/src/main");

     </script>
</html>
